::ng-deep .tree-container {
  width: 250px;
  height: 100%;
  background-color: white;
  box-shadow: 0px 0px 8px #ddd;
  border-radius: 5px;
  opacity: 0.9;
  position: relative;

  .tree-head {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #dddddd;
    text-align: center;

    .close {
      cursor: pointer;

      &:hover {
        color: red;
      }
    }
  }

  .tree-body {
    height: 100%;
    padding: 10px 15px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 1px;
    transition: all .3s;
  }

  .drawings-body {
    height: 368px;
    margin-top: 1px;
    overflow: auto;
    padding-top: 10px;

    position: relative;

    .card {

      padding: 0 10px;
      cursor: pointer;
      // border-bottom: 1px solid #dddddd;

      .name {
        height: 20px;
        line-height: 35px;
        font-size: 14px;
        // color: #333333;
      }

      .info {
        height: 30px;
        line-height: 10px;
        color: #999999;
      }

      .addTool {
        float: right;
        // color: #095d99;
        line-height: 35px;

        .tool {
          margin-right: 4px;

          &:hover {
            color: #065892 !important;
          }
        }

      }

    }

  }

  .bottomTools {
    height: 30px;
    border-top: 1px solid #ddd;
    width: 100%;
    position: absolute;
    overflow: hidden;
    bottom: 0;

    .folder {
      line-height: 30px;
      border-right: 1px solid #ddd;
      margin-right: 10px;
      display: inline-block;
      width: 30px;
      text-align: center;
      height: 30px;
      cursor: pointer;
      font-size: 18px;
      color: #ad9c9c;
      transition: all .3s;

      &:hover {
        color: #727070;
      }
    }

    .addAcceptanceNode {
      float: right;
      line-height: 30px;
      border-left: 1px solid #ddd;
      display: inline-block;
      width: 30px;
      text-align: center;
      height: 30px;
      cursor: pointer;
      font-size: 18px;
      color: #ad9c9c;
      transition: all .3s;

      &:hover {
        color: #727070;
      }
    }

    .switch {
      vertical-align: 10%;
      margin-right: 6px;
    }
  }

  .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon,
  .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon {
    font-size: 18px !important;
  }
}

.text-success {
  color: #409fe5;
  border-bottom: 1px solid #409fe5;
}

::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  background-clip: padding-box;
  min-height: 28px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}

:host ::ng-deep .ant-tree li span.ant-tree-checkbox {
  margin: 0;
  line-height: normal;
  vertical-align: 50%;
}

::ng-deep .ant-tree li .ant-tree-node-content-wrapper {
  width: 88%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anticon-close-circle {
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s;
  font-size: 12px;
}

.anticon-close-circle:hover {
  color: #999;
}

.anticon-close-circle:active {
  color: #666;
}

// 省略号样式
.hidden {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 210px;
}

// 添加验收节点弹窗
.nodeName,
.planTime,
.finalTime {
  margin-bottom: 10px;

  .colorPiker {
    display: inline-block;
    margin-left: 2%;
    cursor: pointer;
    width: 6%;
    height: 30px;
    border-style: none;
    border-radius: 15%;
  }
}

// 添加验收节点，检验批模板选择
.templateBody {
  overflow: hidden;

  .body-left,
  .body-right {
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 47%;
    min-height: 200px;
    cursor: pointer;
    overflow-y: auto;
    height: 600px;
    // background-color: #d9e5eebe;
    display: inline-block;

  }

  .body-left-hidden{
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 85%;
    vertical-align: middle;
  }

  .body-middle {
    display: inline-block;

    i {
      position: fixed;
      top: 50%;
      left: 50%;
    }
  }

  .body-right {
    box-sizing: border-box;
    padding: 10px;
    float: right;

    .checkedNode {
      cursor: pointer;
      box-sizing: border-box;
      padding: 2px;
      transition: all .3s;

      i.delete{
        opacity: 0;
      }

      .rightNodeHidden{
        display: inline-block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 95%;
      }

      margin-bottom: 10px;

      &:hover {
        background-color: #ddddddb4;
      }

      &:hover i.delete{
        opacity: 1;
      }
    }
  }

}

// 编辑模式验收节点
.editmode {
  position: fixed;
  top: 86px;
  right: 24px;
  z-index: 100;
  width: 400px;
  height: 550px;
  background-color: white;
  box-shadow: 0px 0px 8px #ddd;
  border-radius: 5px;


  .tree-head {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #dddddd;
    text-align: center;

    .close {
      cursor: pointer;

      &:hover {
        color: red;
      }
    }
  }

  .tree-body {
    height: 390px;
    padding: 10px 15px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 1px;
    transition: all .3s;
  }

  .drawings-body {
    height: 469px;
    margin-top: 1px;
    overflow: auto;
    padding-top: 10px;

    position: relative;

    .card {

      padding: 0 10px;
      cursor: pointer;
      // border-bottom: 1px solid #dddddd;

      .acceptanceNode {
        box-sizing: border-box;
        padding: 0 4px;
        position: relative;

        .folder-tools {
          float: right;
          line-height: 26px;
          opacity: 0;
        }
        .title{
          //vertical-align: middle;
          // margin-left: -2%;
          min-width: 65%;
        }

        &.active,
        &:hover {
          background: rgb(223, 239, 251);
          .folder-tools {
            opacity: 1;
          }
        }
        .bindCss{
          display: inline-block;
          position: absolute;
          left: 212px;
        }
      }


      .name {
        height: 20px;
        line-height: 35px;
        font-size: 14px;
        // color: #333333;
      }

      .info {
        height: 30px;
        line-height: 10px;
        color: #999999;
      }



    }

  }

  .bottomTools {
    height: 30px;
    border-top: 1px solid #ddd;
    width: 100%;
    position: absolute;
    overflow: hidden;
    bottom: 0;

    .folder {
      line-height: 30px;
      border-right: 1px solid #ddd;
      margin-right: 10px;
      display: inline-block;
      width: 30px;
      text-align: center;
      height: 30px;
      cursor: pointer;
      font-size: 18px;
      color: #ad9c9c;
      transition: all .3s;

      &:hover {
        color: #727070;
      }
    }

    .addAcceptanceNode {
      float: right;
      line-height: 30px;
      border-left: 1px solid #ddd;
      display: inline-block;
      width: 30px;
      text-align: center;
      height: 30px;
      cursor: pointer;
      font-size: 18px;
      color: #ad9c9c;
      transition: all .3s;

      &:hover {
        color: #727070;
      }
    }

    .switch {
      vertical-align: 10%;
      margin-right: 6px;
    }
  }

  .ant-tree li span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-icon,
  .ant-tree li span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-icon {
    font-size: 18px !important;
  }
}
